package com.evenmo.pojo;

import java.io.Serializable;

import org.springframework.stereotype.Component;

@Component
public class BigData implements Serializable{

	private Integer id;
	private String name;
	private String hobby;
	private Integer dataflag;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getHobby() {
		return hobby;
	}
	public void setHobby(String hobby) {
		this.hobby = hobby;
	}
	public Integer getDataflag() {
		return dataflag;
	}
	public void setDataflag(Integer dataflag) {
		this.dataflag = dataflag;
	}
	public BigData() {
		super();
		// TODO Auto-generated constructor stub
	}
	public BigData(Integer id, String name, String hobby, Integer dataflag) {
		super();
		this.id = id;
		this.name = name;
		this.hobby = hobby;
		this.dataflag = dataflag;
	}
	public BigData(String name, String hobby, Integer dataflag) {
		super();
		this.name = name;
		this.hobby = hobby;
		this.dataflag = dataflag;
	}
	@Override
	public String toString() {
		return "BigData [id=" + id + ", name=" + name + ", hobby=" + hobby + ", dataflag=" + dataflag + "]";
	}
	
}
